require.config({
	shim:{
		"xsli":["jquery"],
		"cookie":["jquery"]
	},
	paths:{
		"jquery":"jquery-1.11.3",
		"cookie":"jquery.cookie",
		"xsli":"xSlider",
		"iconfont":"../iconfont/iconfont"
		
	}
})
require(["jquery","xsli","iconfont","cookie"],function($,xsli,iconfont,cookie){
	   $(function(){
	   	$("#act_chatop").load("../html/Top&Bottmo.html .top",function(){
			
	})
	 	$("#act_chabom").load("../html/Top&Bottmo.html .bottom")
	 	$("#act_chari").load("../html/Top&Bottmo.html .amj_r",function(){
			var l = `<script src="../js/Top&Bottom.js"></script>`
		$("body").append(l)
	})
	   	
	   	
	   		$(window).scroll(function(){
	   			if($(document).scrollTop() >= 600){
	   				$("#act_zi").css("display","block")		 
	   			}else{
	   				$("#act_zi").css("display","none")
	   			}
	   		})
	   		$("#act_zi").hover(function(){
	   			$("#act_zi span").css({"transform":"scale(1)","opacity":"1"})
	   		},function(){
	   			$("#act_zi span").css({"transform":"scale(0.5)","opacity":"0"})
	   		})
	   })
})
